package VN.EDU.IMIC.DEVELOPER.LETRONGKHANH.QLST;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import java.awt.Window.Type;
import javax.swing.border.TitledBorder;
import javax.swing.JTabbedPane;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.JButton;
import javax.swing.JTable;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

public class frmNhanVien extends JFrame {

	private JPanel contentPane;
	private JTextField textField;
	private JTextField textField_1;
	private JTextField textField_2;
	private JTable table;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					frmNhanVien frame = new frmNhanVien();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public frmNhanVien() {
		setType(Type.UTILITY);
		setTitle("NHÂN VIÊN");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 555, 315);
		contentPane = new JPanel();
		contentPane.setBorder(new TitledBorder(null, "Qu\u1EA3n l\u00FD nh\u00E2n vi\u00EAn", TitledBorder.LEADING, TitledBorder.TOP, null, null));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JLabel lblmaNhanVien = new JLabel("Mã Nhân Viên:");
		lblmaNhanVien.setBounds(43, 22, 139, 14);
		contentPane.add(lblmaNhanVien);
		
		JLabel lbltenNhanVien = new JLabel("Tên Nhân Viên:");
		lbltenNhanVien.setBounds(43, 50, 113, 14);
		contentPane.add(lbltenNhanVien);
		
		JLabel lblNewLabel_2 = new JLabel("Mã Gian Hàng:");
		lblNewLabel_2.setBounds(43, 75, 103, 14);
		contentPane.add(lblNewLabel_2);
		
		textField = new JTextField();
		textField.setBounds(120, 19, 286, 20);
		contentPane.add(textField);
		textField.setColumns(10);
		
		textField_1 = new JTextField();
		textField_1.setBounds(120, 47, 286, 20);
		contentPane.add(textField_1);
		textField_1.setColumns(10);
		
		textField_2 = new JTextField();
		textField_2.setBounds(120, 75, 286, 20);
		contentPane.add(textField_2);
		textField_2.setColumns(10);
		
		JButton btnthem = new JButton("Thêm");
		btnthem.setBounds(57, 228, 89, 23);
		contentPane.add(btnthem);
		
		JButton btnsua = new JButton("Sửa");
		btnsua.setBounds(165, 228, 89, 23);
		contentPane.add(btnsua);
		
		JButton bntxoa = new JButton("Xóa");
		bntxoa.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
			}
		});
		bntxoa.setBounds(279, 228, 89, 23);
		contentPane.add(bntxoa);
		
		JButton btnthoat = new JButton("Back");
		btnthoat.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
			}
		});
		btnthoat.setBounds(391, 228, 89, 23);
		contentPane.add(btnthoat);
		
		table = new JTable();
		table.setBounds(10, 100, 519, 117);
		contentPane.add(table);
		
		JButton btntimKiem = new JButton("Tìm Kiếm");
		btntimKiem.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
			}
		});
		btntimKiem.setBounds(426, 18, 89, 23);
		contentPane.add(btntimKiem);
	}
}
